package metiers;

import java.sql.Date;

public class Location {

	private int id;
	private int numClient;
	private int numFilm;
	private String dateLocation;
	private String dateFinLocation;
	private double prix;
	private int filmRendu;
	
	public Location(int id, int numClient, int numFilm, String dateLocation,
			String dateFinLocation, double prix, int filmRendu)
	{
		super();
		this.id = id;
		this.numClient = numClient;
		this.numFilm = numFilm;
		this.dateLocation = dateLocation;
		this.dateFinLocation = dateFinLocation;
		this.prix = prix;
		this.filmRendu = filmRendu;
	}


	public Location(int numClient, int numFilm, String dateLocation,
			 double prix)
	{
		super();
		this.numClient = numClient;
		this.numFilm = numFilm;
		this.dateLocation = dateLocation;
		this.prix = prix;
	}



	public int getId()
	{
		return id;
	}

	public void setId(int id)
	{
		this.id = id;
	}

	public int getNumClient()
	{
		return numClient;
	}

	public void setNumClient(int numClient)
	{
		this.numClient = numClient;
	}

	public int getNumFilm()
	{
		return numFilm;
	}

	public void setNumFilm(int numFilm)
	{
		this.numFilm = numFilm;
	}

	public String getDateLocation()
	{
		return dateLocation;
	}

	public void setDateLocation(String dateLocation)
	{
		this.dateLocation = dateLocation;
	}

	public String getDateFinLocation()
	{
		return dateFinLocation;
	}

	public void setDateFinLocation(String dateFinLocation)
	{
		this.dateFinLocation = dateFinLocation;
	}

	public double getPrix()
	{
		return prix;
	}

	public void setPrix(double prix)
	{
		this.prix = prix;
	}

	public int getFilmRendu()
	{
		return filmRendu;
	}

	public void setFilmRendu(int filmRendu)
	{
		this.filmRendu = filmRendu;
	}

	@Override
	public String toString()
	{
		return "Location [id=" + id + ", numClient=" + numClient + ", numFilm="
				+ numFilm + ", dateLocation=" + dateLocation
				+ ", dateFinLocation=" + dateFinLocation + ", prix=" + prix
				+ ", filmRendu=" + filmRendu + "]";
	}
}
